package cn.iocoder.yudao.module.promotion.controller.admin.points.pointsproduct;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 积分商品 Excel 导出 Request VO，参数和 PointsProductPageReqVO 是一致的")
@Data
public class PointsProductExportReqVO {

    @Schema(description = "积分活动编号", example = "26119")
    private Long activityId;

    @Schema(description = "商品 SPU 编号", example = "2246")
    private Long spuId;

    @Schema(description = "商品 SKU 编号", example = "13172")
    private Long skuId;

    @Schema(description = "积分商品状态", example = "2")
    private Byte activityStatus;

    @Schema(description = "活动开始时间点")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] activityStartTime;

    @Schema(description = "活动结束时间点")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] activityEndTime;

    @Schema(description = "积分价格，单位分", example = "5126")
    private Integer combinationPrice;

    @Schema(description = "积分")
    private Integer points;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
